﻿<%@ Page Title="Image Upload" Language="C#" MasterPageFile="~/GEMS.master" AutoEventWireup="true"
    CodeFile="ImageUpload.aspx.cs" Inherits="ImageUpload" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript">

        // O2k7 skin
        tinyMCE.init({
            // General options
            mode: "exact",
            elements: "<%=Editor.ClientID %>",
            theme: "advanced",
            skin: "o2k7",
            plugins: "lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",

            // Theme options
            theme_advanced_buttons1: "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
            theme_advanced_buttons2: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
            theme_advanced_buttons3: "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
            theme_advanced_buttons4: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
            theme_advanced_toolbar_location: "top",
            theme_advanced_toolbar_align: "left",
            theme_advanced_statusbar_location: "bottom",
            theme_advanced_resizing: true,

            // Example content CSS (should be your site CSS)
            content_css: "css/content.css",

            // Drop lists for link/image/media/template dialogs
            template_external_list_url: "lists/template_list.js",
            external_link_list_url: "lists/link_list.js",
            external_image_list_url: "lists/image_list.js",
            media_external_list_url: "lists/media_list.js",

            // Replace values for the template plugin
            template_replace_values: {
                username: "Some User",
                staffid: "991234"
            }
        });


    </script>
    <!-- /TinyMCE -->
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container_12 container_16">
        <div class="full">
            <div class="content">
                <h2>
                    Image Upload</h2>
                <div class="f_head r2 box">
                    <div class="head_con col_3">
                        <div class="c1" style="margin-right: 25px">
                            <div class="rw1">
                                <asp:Label ID="lotnolbl" runat="server" CssClass="text" Text="Lot No"></asp:Label>
                                <asp:Label ID="ltnnolbl" runat="server" CssClass="text" Text="L00001"></asp:Label>
                            </div>
                            <div class="rw1">
                                <asp:Label ID="lbltag" runat="server" CssClass="text" Text="Tag No"></asp:Label>
                                <asp:Label ID="lbltagno" runat="server" CssClass="text" Text="T000923"></asp:Label>
                            </div>
                        </div>
                        <div class="c2" style="margin: 0px;">
                            <div class="rw1">
                                <asp:Label ID="prdcodelbl" runat="server" CssClass="text" Text="Product Code "></asp:Label>
                                <asp:Label ID="prdcodenolbl" runat="server" CssClass="text" Text="P00001"></asp:Label>
                            </div>
                            <div class="rw1">
                                <asp:Label ID="lblcategolbl" runat="server" CssClass="text" Text="category code"></asp:Label>
                                <asp:Label ID="lblcategonolbl" runat="server" CssClass="text" Text="CC00001"></asp:Label>
                            </div>
                        </div>
                        <div class="c3 with_btn">
                            <div class="rw1">
                                <asp:Label ID="lblfileld" runat="server" CssClass="text" Text="File Upload"></asp:Label>
                                <asp:TextBox ID="txtfileload" runat="server" CssClass="text_field field"></asp:TextBox>
                                <div class="head_btn">
                                    <asp:Button ID="btnbrowse" Style="margin-left: 12px;" runat="server" Text="Browse"
                                        class="lgin" />
                                    <asp:Button ID="btnupload" Style="margin-left: 12px;" runat="server" Text="Upload"
                                        class="lgin" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="count_grid" class="box">
                    <div>
                        <asp:GridView ID="GridView1" runat="server" BackColor="White" CssClass="mGrid" GridLines="Vertical">
                            <Columns>
                                <asp:TemplateField HeaderText="Delete">
                                    <ItemTemplate>
                                        <asp:ImageButton ID="ibtdlt" runat="server" CausesValidation="False" ImageUrl="~/css/images/delete.gif"
                                            Text="Delete" ToolTip="Click here to Delete" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                    <div id="Html_editror">
                        <asp:TextBox ID="Editor" runat="server" TextMode="MultiLine"></asp:TextBox>
                    </div>
                    <div class="grid_btn">
                        <asp:Button ID="btnsave" runat="server" Text="Submit" class="lgin" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
